package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Comment;
import cn.wolfcode.trip.base.domain.Tag;
import cn.wolfcode.trip.base.query.CommentQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICommentService {
    //点评表上的推荐的标签
    PageInfo<Comment> query(CommentQueryObject qo);

    void saveOrUpdate(Comment entity);

    Comment getComment(Long id);

    List<Tag> getTagById(Long id);
}
